package com.ruoyi.service;

import com.ruoyi.domain.BasisReceiver;
import com.ruoyi.dto.BasisPositionReceiver;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 接收设备名称与接收设备类型关联Service接口
 * 
 * @author wangzebing
 * @date 2025-07-05
 */
public interface IBasisReceiverService 
{
    /**
     * 查询接收设备名称与接收设备类型关联
     * 
     * @param id 接收设备名称与接收设备类型关联主键
     * @return 接收设备名称与接收设备类型关联
     */
    public BasisReceiver selectBasisReceiverById(Long id);

    /**
     * 查询接收设备名称与接收设备类型关联列表
     * 
     * @param basisReceiver 接收设备名称与接收设备类型关联
     * @return 接收设备名称与接收设备类型关联集合
     */
    public List<BasisReceiver> selectBasisReceiverList(BasisReceiver basisReceiver);

    /**
     * 新增接收设备名称与接收设备类型关联
     * 
     * @param basisReceiver 接收设备名称与接收设备类型关联
     * @return 结果
     */
    public int insertBasisReceiver(BasisReceiver basisReceiver);

    /**
     * 修改接收设备名称与接收设备类型关联
     * 
     * @param basisReceiver 接收设备名称与接收设备类型关联
     * @return 结果
     */
    public int updateBasisReceiver(BasisReceiver basisReceiver);

    /**
     * 批量删除接收设备名称与接收设备类型关联
     * 
     * @param ids 需要删除的接收设备名称与接收设备类型关联主键集合
     * @return 结果
     */
    public int deleteBasisReceiverByIds(Long[] ids);

    /**
     * 删除接收设备名称与接收设备类型关联信息
     * 
     * @param id 接收设备名称与接收设备类型关联主键
     * @return 结果
     */
    public int deleteBasisReceiverById(Long id);

    public int deleteBasisReceiverById2(BasisPositionReceiver basisPositionReceiver);

    public List<BasisReceiver> findByLoadingIdAndPositionId(String loadingId, String positionId);



}
